package cn.hfjava.crm;

public class Animal {
    String name;
    String name2;
    int tooshNum;
    String behavior;//定义行为
    String behavior2;
    String cotColor;

    public void Dog(){
        System.out.println("一只名叫"+this.name+"的狗，它有"+this.tooshNum+
                "颗牙齿，他"+this.behavior+"的本来很强！");
    }
    public void cat(){
        System.out.println("一只名叫"+this.name2+"的"+cotColor+"的猫，它有"+this.tooshNum+
                "颗牙齿，他"+this.behavior2+"的本来很强！");
    }
}
